package com.ruoyi.dynamic.model.pojo.entity;

import com.alibaba.csp.sentinel.init.InitExecutor;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 房间赠送礼物记录表
 * </p>
 *
 * @author ${author}
 * @since 2024-11-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("youban_room_gift_record")
@ApiModel(value = "RoomGiftRecord对象", description = "房间赠送礼物记录表")
public class RoomGiftRecord extends BaseEntity<RoomGiftRecord> {

    @ApiModelProperty(value = "房间id")
    private Long roomId;

    @ApiModelProperty(value = "房间编号")
    private String roomNumber;

    @ApiModelProperty(value = "赠送的用户id")
    private Long userId;

    @ApiModelProperty(value = "对方用户id")
    private Long aimUserId;

    @ApiModelProperty(value = "礼物id")
    private Long giftId;

    @ApiModelProperty(value = "赠送的礼物价值")
    private BigDecimal money;

    @Schema(description = "赠送的数量")
    private Integer number;

    @Schema(description = "贡献值")
    private Integer contrNum;

    @Schema(description = "用户昵称")
    private String userNickName;

    @Schema(description = "用户头像")
    private String userPhoto;

    @Schema(description = "用户性别")
    private Integer userSex;

    @Schema(description = "对方用户昵称")
    private String aimUserNickName;

    @Schema(description = "对方用户头像")
    private String aimUserPhoto;
}
